package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存管理-请购申请项
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_apply_item")
@ApiModel(value = "ErpStockApplyItem对象", description = "ERP系统-库存管理-请购申请项")
public class ErpStockApplyItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营城市")
    private Integer operateId;

    @ApiModelProperty("所属仓库")
    private Integer warehouseId;

    @ApiModelProperty("关联申请ID")
    private Integer applyId;

    @ApiModelProperty("关联品类ID")
    private Integer goodsCategoryId;

    @ApiModelProperty("货品ID")
    private Integer goodsId;

    @ApiModelProperty("货品名称")
    private String goodsName;

    @ApiModelProperty("货品SKU")
    private String goodsSku;

    @ApiModelProperty("货品属性值:[{\"attribute_id\":1,\"attribute_name\":\"接口\",\"value_id\":1,\"value_name\":\"2+6大电流方口\"},.....]")
    private String goodsValue;

    @ApiModelProperty("货品图片")
    private String goodsPic;

    @ApiModelProperty("货品规格")
    private String goodsStandard;

    @ApiModelProperty("备件单位")
    private String goodsUnit;

    @ApiModelProperty("预估单价")
    private BigDecimal goodsPrice;

    @ApiModelProperty("是否质保件")
    private Integer goodsIsQuality;

    @ApiModelProperty("质保年限")
    private Integer goodsQualityYear;

    @ApiModelProperty("质保标准")
    private String goodsQualityStandard;

    @ApiModelProperty("申请数量")
    private Integer applyAmount;

    @ApiModelProperty("申请总价")
    private BigDecimal applyMoney;

    @ApiModelProperty("是否确认")
    private Integer isConfirm;

    @ApiModelProperty("确认单价")
    private BigDecimal confirmPrice;

    @ApiModelProperty("确认总量")
    private Integer confirmAmount;

    @ApiModelProperty("确认总价")
    private BigDecimal confirmMoney;

    @ApiModelProperty("确认时间")
    private Date confirmTime;

    @ApiModelProperty("已发货量")
    private Integer sendAmount;

    @ApiModelProperty("已签收量")
    private Integer signAmount;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
